'''
#a=input("a")
a=int(1)
b=int(3)
while 10>a:
        print("{}*{}={}".format(a,b,a*b),end="   ")
        a=a+1
        while b==a:
                print('\n')

row=1
while row<=9:
        col=1
        while col<row+1:
                print("{}*{}={}".format(row,col,row*col),end="   ")
                col=col+1
        row=row+1
        print('\n')

row=1
while 1<=row<=9:
        col=9
        while col>=row:
                print("{}*{}={}".format(row,col,row*col),end='  ')
                col=col-1
        row=row+1
        print("\n")
'''













row=1
while 10>row>=1:
        col=1
        while col<=row:
                print("{}*{}={}".format(row,col,row*col),end='   ')
                col=col+1
        row=row+1
        print('\n')